

# def spam():
#   print(eggs) # ERROR!
#   eggs = 'spam local'
# eggs = 'global'
# spam()


def spam(divideBy):
  try:
    return 42 / divideBy
  except ZeroDivisionError:
    return '除数不能为0'
print(spam(2))
print(spam(12))
print(spam(0))
print(spam(1))




